package com.doge.walknovel.api.model

import com.doge.walknovel.utils.appVersionCode

data class VersionInfo(
    val versionNo: Int?,//版本号
    val minVersionNo: Int?, // 最小版本号
    val remark: String?,//备注
    val title: String?,//标题
    val linkUrl: String?//下载地址
) {
    val forceUpdate: Boolean get() = appVersionCode < (minVersionNo ?: 0)
}